mod code;
mod calendar;

use rusqlite::{Connection, Result};

pub fn init() -> Result<()> {
    let conn = Connection::open("cr.db")?;

    code::init(&conn);
    calendar::init(&conn);

    Ok(())
}